﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using AyFrame.DbEntity.ColumnAttributes;

namespace AyFrame.DbEntity.Models
{
    [SugarTable("DB_SysDataLog", TableDescription = "系统数据日志")]
    public class SystemDataLog
    {
        [StringKey()]
        public string Id { get; set; }

        [StringLength()]
        public string LogData { get; set; }

        [StringLength(50)]
        public string Method { get; set; }

        [StringLength(50)]
        public string TableName { get; set; }

        public DateTime AddTime { get; set; } = DateTime.Now;

        [StringLength(50)]
        public string OperUid { get; set; }
    }
}
